#ifndef DDA_H
#define DDA_H

#include "algorithm.h"
#include <QList>

class QPoint;

class DDA : public Algorithm {

public:
    DDA();

    virtual PointsIter* handleMoveEvent(QPoint point);
    virtual PointsIter* handlePressEvent(QPoint point);
    virtual PointsIter* calculate(QPoint point);
    const QString name() {return "DDA";}
    virtual bool isTemp();
    virtual void drop();

protected:
    QPoint* mFirstPoint;
    QList<QPoint>* mPoints;
};

#endif // DDA_H
